

<?php
	include __DIR__ ."../../PHP/connection.php";
	include __DIR__.'../../PHP/applicantsFunction.php';
    $applicant_id = $_POST['applicant_id'];
    $fname = $_POST['fname'];
    $lname = $_POST['lname'];
    $mname = $_POST['mname'];
    $gender = $_POST['gender'];
    $a_address = $_POST['a_address'];
    $city = $_POST['city'];
    $country = $_POST['country'];
    $telephone = $_POST['telephone'];
    $mobile = $_POST['mobile'];
    $bdate = $_POST['mybdate'];
    $pob = $_POST['pob'];
    $civilstatus = $_POST['civilstatus'];
    $nationality = $_POST['nationality'];
    $height = $_POST['height'];
    $weight = $_POST['weight'];
    $religion = $_POST['religion'];
    $noofchildren = $_POST['noofchildren'];
    $fathersname = $_POST['fathersname'];
    $mothersname = $_POST['mothersname'];
	$result = array();
	$result['status'] = saveResume($mname,$applicant_id,$fname,$lname,$gender,$a_address,$city,$country,$telephone,$mobile,$bdate,$pob,$civilstatus,$nationality,$height,$weight,$religion,$noofchildren,$fathersname,$mothersname);
	echo json_encode($result);

	die;

?>